package com.ikas.autumn.iec104.common.baseEntity;


import java.util.List;

/**
 * 有子节点的id-name结构
 */
public class IdNameTree<K, V> extends IdName<K, V> {

    /**
     * 构造函数
     */
    public IdNameTree(K id, V name, List<IdNameTree<K, V>> children) {
        super(id, name);
        this.children = children;
    }

    /**
     * 子节点
     */
    private List<IdNameTree<K, V>> children;

    public List<IdNameTree<K, V>> getChildren() {
        return children;
    }

    public void setChildren(List<IdNameTree<K, V>> children) {
        this.children = children;
    }
}
